package com.dfiov.cloud.msmtools.mapper.entity.msdevice;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
public class DeviceVehicle implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "sid")
	private Integer sid;

	@ApiModelProperty(value = "vin号")
	private String vin;

	@ApiModelProperty(value = "品牌")
	private String brandId;

	@ApiModelProperty(value = "车型")
	private String styleId;

	@ApiModelProperty(value = "车系")
	private String seriesId;
	private String seriesName;

	@ApiModelProperty(value = "车辆状态 1 已销售、 2 车厂、 3 销售取消、 4 经销商")
	private Integer status;

	@ApiModelProperty(value = "车牌")
	private String licence;

	@ApiModelProperty(value = "颜色")
	private String colorId;

	@ApiModelProperty(value = "发动机号")
	private String doptCode;

	@ApiModelProperty(value = "保险公司ID")
	private String insuranceId;

	@ApiModelProperty(value = "经销商ID")
	private String dealerId;

	@ApiModelProperty(value = "1 前装、 0 后装")
	private Integer assType;

	@ApiModelProperty(value = "安全码")
	private String pin;

	@ApiModelProperty(value = "安全码有效时间")
	private Date pinValidDate;

	@ApiModelProperty(value = "车机语言")
	private String language;

	/*
	 * @ApiModelProperty(value = "车型代码") private String carTypeCode;
	 */

	@ApiModelProperty(value = "车厂")
	private String factory;

	@ApiModelProperty(value = "激活状态 0 出厂、1 激活成功、2 激活失败、3 激活进行中、4 审核中、5 审核失败")
	private Integer enrollStatus;

	@ApiModelProperty(value = "激活状态 0 出厂、1 激活成功、2 激活失败、3 激活进行中、4 审核中、5 审核失败")
	private String enrollStatusName;


	@ApiModelProperty(value = "保险服务激活时间")
	private Date insuranceDate;

	@ApiModelProperty(value = "保险服务激活状态 0:待激活(默认)  1:已激活  2:已过期")
	private Integer insuranceStatus;

	@ApiModelProperty(value = "激活时间")
	private Date enrollDate;

	@ApiModelProperty(value = "关闭激活时间")
	private Date unenrollDate;

	@ApiModelProperty(value = "购买时间")
	private Date buyDate;

	@ApiModelProperty(value = "生产日期")
	private Date produceDate;

	@ApiModelProperty(value = "发布日期")
	private Date publishDate;

	@ApiModelProperty(value = "销售时间")
	private Date purchaseDate;

	@ApiModelProperty(value = "车辆类型1 - 用户 2 - 试乘试驾 3 - 展车 4 - 内部测试 5 - 媒体")
	private Integer vhlType;

	@ApiModelProperty(value = "车辆类型1 - 用户 2 - 试乘试驾 3 - 展车 4 - 内部测试 5 - 媒体")
	private String vehicleTypeName;


	@ApiModelProperty(value = "真实VIN")
	private String realVin;

	@ApiModelProperty(value = "备注")
	private String remarks;

	@ApiModelProperty(value = "删除标志 0 - 正常，1 - 删除")
	private Integer delFlag =0;

	@ApiModelProperty(value = "版本号")
	private Integer version = 1;

	@ApiModelProperty(value = "创建人 登录帐号")
	private String createBy = "msdevice";

	@ApiModelProperty(value = "创建时间")
	private Date createDate;

	@ApiModelProperty(value = "修改人 登录帐号")
	private String updateBy = "msdevice";

	@ApiModelProperty(value = "修改时间")
	private Date updateDate;

	@ApiModelProperty(value = "实名认证状态 0-待实名认证，1-认证中，2-实名认证通过，3-实名认证失败，4-解除申请中，5-实名认证解除成功")
	private String realNameStatus;
	private String realNameStatusName;

	//同步车辆到运营商状态，0，未同步，1，同步成功，2 同步失败
	@ApiModelProperty(value = "同步车辆到运营商状态，0，未同步，1，同步成功，2 同步失败")
	private Integer mnoSyncStatus;

	private Date sapDate;

	@ApiModelProperty(value = "销售时间")
	private Date availableDate;

	private String groupId;

	@ApiModelProperty(value = "绑定关系 0 - 解绑，1 - 绑定")
	private  Integer relationshipType;

	private String projectId;

	@ApiModelProperty(value = "是否手机车联网")
	private Integer carSpt;
	private String carSptName;
	
	@ApiModelProperty(value = "车型组编号")
	private String typeGroupCode;
	
	@ApiModelProperty(value = "车型组名称")
	private String typeGroupName;
	
	@ApiModelProperty(value = "DMS入库时间")
	private Date dealerInDate;
}
